on

public abstract Unit on(Throwable throwable, Window window)

Handles the exception in a window.

Please note, this method will be executed on the UI thread.

Parameters

throwable

The thrown exception.

window

The window, within which the exception was thrown.